<div class="infoBlock">
<div class="infoBlockHeading"><span class="t">Detail</span></div>
<div class="infoBlockContent">

<div class="infoBlockItem">
<table width="100%" border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td width="100" align="right" valign="top"><label class="fb">Name</label>: </td>
    <td>{pp_text name="field_name" value=$CONTENT.item.name class="inputText2" require="true"}</td>
    <td></td>
  </tr>
  <tr>
    <td align="right" valign="top"><label class="fb">Description</label>: </td>
    <td>{pp_textarea name="field_description" value=$CONTENT.item.description cols="40" rows="4" require="true"}</td>
    <td></td>
  </tr>
  <tr>
    <td align="right" valign="top"><label class="fb">Subject</label>: </td>
    <td>{pp_text name="field_subject" value=$CONTENT.item.subject class="inputText3" require="true"}</td>
    <td></td>
  </tr>
  <tr>
    <td align="right" valign="top"><label class="fb">Category</label>: </td>
    <td>{pp_inputoptions name="field_cid" options=$CONTENT.categories_options selected=$CONTENT.item.cid style="Default" disabled="disabled"}
    <a href="?op=toaddcategory">Category</a>
    </td>
    <td></td>
  </tr>
</table>

<div class="line"></div>
<div class="breakline clear"></div>
<a href="?op=edit&id={$CONTENT.item.id}" class="btn">Edit</a> 
<a href="?op=comments&id={$CONTENT.item.id}" class="btn">Comments</a>

<form name="createcategoryform" method="post">
<input type="hidden" name="action" value="createcategory">
<input type="hidden" name="id" value="{$CONTENT.item.id}">
<table width="100%" border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td width="100" align="right" valign="top"></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td align="right" valign="top"></td>
    <td><input type="submit" name="submitbtn" value="Create Category" onClick="if(confirm('Create?')==false)return false;"></td>
    <td></td>
  </tr>
  <tr>
    <td align="right" valign="top"></td>
    <td><p>Create content category for this content</p></td>
    <td></td>
  </tr>
</table>
</form>
</div>

</div>
</div>